[Contents]
[Index]
[Help]
[Browse <]
[Browse >]
Rename NAME, NEWNAME
Rename allows you to give new names to all selected entries in the currently
selected SRCE directory windows. A requester will appear for each entry
in turn, asking for the new name. The initial rename requester has two
string fields instead of one. You will usually just edit the name in the
lower of the two to the new name.
A limited type of wildcard rename is possible. Entering an '*' in the
bottom field allows you to add prefixes or suffixes. For instance, entering
'*.pic' will add a '.pic' suffix to all selected entries. Entering 'A*'
will add an A prefix. Only one '*' may be used in this process.
You cannot give a file a name that contains a '*'.
If you enter an '*' in the top as well as the bottom field, you can replace
sections of the name. For example, entering '*.pic' in the top Field and
'*.iff' in the bottom Field will replace the '.pic' suffix in that entry
that has one with a '.iff' suffix. If an entry does not have a '.pic'
suffix, it will be left untouched. The * may also be embedded. For
instance, renaming 'FOO*BAZ' as 'GEE*WIZ' would rename 'FOOBARBAZ' to
'GEEBARWIZ'. Again, only one '*' may be used in each of the string fields.
The Rename command works on ALL SRCE listers in turn.
You can use the "NAME" and "NEWNAME" arguments to rename files in scripts.
Both arguments can accept asterisk (*) wildcards, like the Rename
requester itself.